package com.enation.app.web.core.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.enation.app.web.core.service.impl.VisitorWebSiteManager;

/**
 * 
 * @function 测试用例
 * @author 闯哥
 * @time 2016年10月16日 下午6:25:35
 * 
 */
@Controller
@RequestMapping("/core/admin")
@SuppressWarnings("serial")
public class TestController {

	@Autowired
	private VisitorWebSiteManager visitorWebSiteManager;

	@RequestMapping(value = "/haha")
	public ModelAndView haha() {
		System.out.println("走");
		visitorWebSiteManager.getVisitorBytime("ss");
		ModelAndView view = new ModelAndView();
		view.setViewName("/core/admin/action");
		return view;

	}
}
